<?php
/**
 * Parameters
 * @param $member Member Members to be displayed
 */
?>
<?php $first_char = substr($member->getAgeGroup()->getName(), 0, 1);?>
<?php if($first_char == 'B'):?>
<img alt="Biber" class="icon" src="<?php echo image_path('icons/content_stufe_biber.png')?>" title="Biber" />
<?php elseif($first_char == 'W'):?>
<img alt="Wölflinge" class="icon" src="<?php echo image_path('icons/content_stufe_woelfling.png')?>" title="Wölflinge" />
<?php elseif($first_char == 'P'):?>
<img alt="Pfadfinder" class="icon" src="<?php echo image_path('icons/content_stufe_pfadfinder.png')?>" title="Pfadfinder" />
<?php elseif($first_char == 'R'):?>
<img alt="Rover" class="icon" src="<?php echo image_path('icons/content_stufe_rover.png')?>" title="Rover" />
<?php elseif($first_char == 'M'):?>
<img alt="Mannschaft" class="icon" src="<?php echo image_path('icons/content_stufe_mannschaft.png')?>" title="Mannschaft" />
<?php endif;?>